package com.dmw.dao;

import com.dmw.pojo.User;

import java.util.List;

public interface IUserDao {
     void addUser(User user);
     void alterUser(User user);
     void removeUser(User user);
     User findUserById(Integer userId);
    List<User> findUserByNameByHQL(String userName);
    List<User> findUserByNameBySQL(String userName);
    List<User> findUserByNameByCriteria(String userName);

}
